home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / hint / frontier.lzh / TEX_SRC.LZH / DINA4.STY < prev    next >
Text File  |  1994-04-05  |  1KB  |  41 lines

  1. %This is documentsubstyle DINA4 for DIN A4 pagesize. GMD Z1.BN  19.01.87
  2. % Must preserve "(\textheight - \topskip) divides \baselineskip".
  3. % \topskip always appears to be 10pt.  (from texhax86(issue#12))
  4.  
  5. \if@twocolumn               % Die Seite wird maximal ausgenutzt
  6.   \topmargin -5.4mm
  7.   \oddsidemargin 0mm
  8.   \evensidemargin 0mm
  9.   \textwidth 160mm
  10. \ifcase \@ptsize
  11.     % mods for 10 pt (\baselineskip=12pt)
  12.     \textheight 658 pt  % = 230.9 mm
  13. \or % mods for 11 pt (\baselineskip=13.6pt)
  14.     \textheight 662.801 pt % = 232.6mm (!Rundungsfehler!)
  15. \or % mods for 12 pt  (\baselineskip=14.5pt)
  16.     \textheight 662.5 pt % = 232.5mm
  17. \fi
  18.  
  19. % \textheight 232mm
  20.  \else
  21.   \topmargin 0mm
  22.   \oddsidemargin 5mm
  23.   \evensidemargin 5mm
  24.   \textwidth 150mm
  25. \ifcase \@ptsize
  26.     % mods for 10 pt (\baselineskip=12pt)
  27.     \textheight 634 pt  % = 222.5 mm
  28. \or % mods for 11 pt (\baselineskip=13.6pt)
  29.     \textheight 635.601 pt % = 223 mm  (!Rundungsfehler!)
  30. \or % mods for 12 pt  (\baselineskip=14.5pt)
  31.     \textheight 633.5 pt % = 222.8mm
  32. \fi
  33.  
  34. % \textheight 222mm
  35. \fi
  36.  
  37. \marginparwidth 0mm
  38. \marginparsep 0mm
  39. \marginparpush 0pt
  40. \columnwidth\textwidth
  41.